package com.koron.ticket.workchange.ticketchangedelay.service;


import com.koron.bean.base.Response;
import com.koron.ticket.workchange.ticketchangedelay.bean.TicketChangeDelay;
import com.koron.ticket.workchange.ticketchangedelay.bean.TicketChangeDelayQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (TicketChangeDelay)表服务接口
 *
 * @author 朱超
 * @since 2021-10-27 09:28:01
 */
public interface TicketChangeDelayService {

    Response insert(SessionFactory factory, TicketChangeDelay ticketChangeDelay);

    Response deleteById(SessionFactory factory, String id);

    Response update(SessionFactory factory, TicketChangeDelay ticketChangeDelay);

    Response getById(SessionFactory factory, String id);

    TicketChangeDelay getSingle(SessionFactory factory, TicketChangeDelayQuery ticketChangeDelayQuery);

    List<TicketChangeDelay> getList(SessionFactory factory, TicketChangeDelayQuery ticketChangeDelayQuery);

    void deleteByWorkTicketId(SessionFactory factory, String workTicketId);
}
